package com.qianxing.mapper;

import com.qianxing.po.TbMsgDataPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author JasonLong
 * @description 针对表【tb_msg_data(推文数据表)】的数据库操作Mapper
 * @createDate 2023-07-09 22:13:05
 * @Entity com.qianxing.po.TbMsgDataPO
 */
@Mapper
public interface TbMsgDataMapper extends BaseMapper<TbMsgDataPO> {

    /**
     * 通过文章id删除文章数据
     *
     * @param msgId
     * @return
     */
    public int delMsgByMsgId(@Param("msgId") String msgId);

    /**
     * 根据文章id查询文章数据
     *
     * @param mId
     * @return
     */
    public TbMsgDataPO getByMsgId(@Param("mId") String mId);
}




